<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>首页</title>

</head>
<body>
	<link href="css/firstPageLayout.css" rel="stylesheet" type="text/css" />
	<div class="header">
		<img src="img/firstPageBanner.jpg" height="150px" width="1300px">
	</div>
	<div class="neck">
	&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;
		<div class="mybutton">
			<a href="firstPage.jsp" style="color: #FFFFFF; text-decoration: none">首页</a>
		</div>
		<div class="mybutton">
			<a href="excellentCourse.jsp"
				style="color: #FFFFFF; text-decoration: none" target="_blank">精品课程</a>
		</div>
		<div class="mybutton">
			<a href="learningResource.jsp"
				style="color: #FFFFFF; text-decoration: none" target="_blank">学习论坛</a>
		</div>
		<div class="mybutton">在线考试</div>
		<input type="text" name="search" align="right">
		<div class="mybutton">搜索</div>
		<!--  &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;
		&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;
		&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;-->
		<div class="mybutton">
			<a href="loginPage.jsp" style="color: #FFFFFF; text-decoration: none"
				target="_blank">登录 </a>
		</div>
		<div class="mybutton">
			<a href="logout.jsp" style="color: #FFFFFF; text-decoration: none"
				target="_blank">注销 </a>
		</div>
		&emsp;&emsp;&emsp;
		<%
			if (session.getAttribute("session_status") != null) {
				if (session.getAttribute("session_status").toString().equals("student")) {
		%>
		<a href="JSP_studentPersonalManage/studentPersonalManage.jsp"
			style="text-decoration: none;" target="_blank"> <label><font
				color="white"><%=session.getAttribute("session_userName")%></font></label></a>
		<%
			} else if (session.getAttribute("session_status").toString().equals("teacher")) {
		%>
		<a href="JSP_teacherPersonalManage/teacherPersonalManage.jsp"
			style="text-decoration: none;" target="_blank"> <label><font
				color="white"><%=session.getAttribute("session_userName")%></font></label></a>
		<%
			}
			}
		%>
	</div>
	<div class="body">
		<div class="font1">&nbsp;&nbsp;&nbsp;图片新闻</div>
		<div class="panel">
		<div class="carousel">
			<div class="btn btn-back hidden">
				<i class="fas fa-arrow-left"></i> <i
					class="fas fa-chevron-left left-indicator"></i>
			</div>
			<div class="viewbox">
				<div class="track">
					<div class="slide active">
						<img class="images" src="img/firstPagePicture1.jpg" height="150px" width="1500px" />
					</div>
					<div class="slide">
						<img class="images" src="img/firstPagePicture2.jpg" height="150px" width="1500px"/>
					</div>
					<div class="slide">
						<img class="images" src="img/firstPagePicture3.jpg" height="150px" width="1500px"/>
					</div>
					<div class="slide">
						<img class="images" src="img/firstPagePicture4.jpg" height="150px" width="1500px"/>
					</div>
					<div class="slide active">
						<img class="images" src="img/firstPagePicture5.jpg" height="150px" width="1500px"/>
					</div>
					<div class="slide">
						<img class="images" src="img/firstPagePicture1.jpg" height="150px" width="1500px"/>
					</div>
					<div class="slide">
						<img class="images" src="img/firstPagePicture2.jpg" height="150px" width="1500px"/>
					</div>
					<div class="slide">
						<img class="images" src="img/firstPagePicture3.jpg" height="150px" width="1500px"/>
					</div>
				</div>
			</div>
			<div class="btn btn-next">
				<i class="fas fa-arrow-right"></i> <i
					class="fas fa-chevron-right right-indicator"></i>
			</div>
			<div class="nav-indicator">
				<div class="dot active"></div>
				<div class="dot"></div>
				<div class="dot"></div>
				<div class="dot"></div>
				<div class="dot"></div>
				<div class="dot"></div>
				<div class="dot"></div>
				<div class="dot"></div>
			</div>
		</div>
		<script src='js/TimelineMax.min.js'></script>
		<script src='js/TweenMax.min.js'></script>
		<script src="js/script.js"></script></div>
	</div>
	<div class="foot">
		<font color="white"><a href="administratorLogin.jsp"
			style="color: black; text-decoration: none" target="_blank">Made
				by Aaron</a> </font> <a href="JSP_administrator/administratorPage.jsp"
			style="text-decoration: none;" target="_blank"> <label><font
				color="black"><%=session.getAttribute("session_admin")%></font></label></a>
	</div>
</body>
</html>